using System;
using System.IO;

namespace AnTunes
{
	public class FileTrack : Track
	{
		public FileTrack (string filePath)
		{
			FilePath = filePath;
		}
		
		public override Stream OpenStream()
		{
			return new FileStream(FilePath, FileMode.Open);
		}
				
		protected override void UpdateInfo()
		{
			info_ = new FileTrackInfo(this);
		}
				
		public string FilePath
		{
			get;
			protected set;
		}
	}
}

